<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- BOOTSTRAP STYLES-->
<link href="css/bootstrap.css" rel="stylesheet" />
<!-- FONTAWESOME STYLES-->
<link href="css/font-awesome.css" rel="stylesheet" />
<!--CUSTOM BASIC STYLES-->
<link href="css/basic.css" rel="stylesheet" />
<!--CUSTOM MAIN STYLES-->
<link href="css/custom.css" rel="stylesheet" />
<!-- GOOGLE FONTS-->
<link href='http://fonts.useso.com/css?family=Open+Sans'
	rel='stylesheet' type='text/css' />
<title>菜单管理</title>
<script src="http://code.jquery.com/jquery-1.11.0-beta1.js"></script>
   
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12">
				<h1 class="page-header">
					餐厅信息管理 
				</h1>
			</div>
		</div>
		<div class="row">
			<div class=" col-md-12 ">			
				<div class="panel panel-default">
					<div class="panel-heading">餐厅信息列表</div>
					<div class="panel-body">
						<!--table-responsive响应式表格，会自动添加滚动条-->
						<div class="table-responsive">
							<table class="table table-striped table-bordered table-hover"
								id="RestaurantManage">
								<thead>
									<tr>					
                                       
										<th>餐厅名称</th>
										<th>餐厅联系方式</th>
										<th>餐厅地址</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
									<c:forEach items="${rlist}" var="rl">
										<tr>
											
											<td>${rl.RName}</td>
											<td>${rl.RTel}</td>
											<td>${rl.RAddress}</td>	
											<td><a title="修改" class="t-edit glyphicon glyphicon-pencil" href="menu/showrestaurant.do"></a> &nbsp
											
										</tr>
									</c:forEach>
							</table>
						</div>
						</div>
					</div>
				</div>
			</div>
		</div>
</body>
</html>